package com.wdd.libarouter

import android.app.Application
import com.alibaba.android.arouter.launcher.ARouter
import com.blankj.utilcode.util.AppUtils

/**
 *
 * @ProjectName:    OwnTool
 * @Package:        com.wdd.libarouter
 * @ClassName:      ARouterManager
 * @Description:     java类作用描述
 * @Author:         初始化ARouter
 * @CreateDate:     2019/12/18 13:41
 * @UpdateUser:     更新者
 * @UpdateDate:     2019/12/18 13:41
 * @UpdateRemark:   更新说明
 * @Version:        1.0
 */
class ARouterManager {
    companion object {
        fun initArouter(application: Application) {
            if (AppUtils.isAppDebug()) {
                ARouter.openLog()
                ARouter.openDebug()
            }
            ARouter.init(application)
        }
    }
}